QT += widgets core serialport xml
QT += core5compat
CONFIG  += qt warn_on debug
TEMPLATE = app
TARGET = comhelper

SOURCES += main.cpp\
        mainwindow.cpp \
        aboutdialog.cpp \
        fcs.c

HEADERS += mainwindow.h \
        aboutdialog.h \
        fcs.h

FORMS += mainwindow.ui \
         aboutdialog.ui

RESOURCES += images.qrc
RC_FILE += myico.rc
OTHER_FILES += myico.rc

OBJECTS_DIR = $$PWD/obj

#win32:debug{
#	CONFIG += console
#}

TRANSLATIONS += ./language/delucom_en.ts ./language/delucom_zh.ts

#win32{
#	MY_DEST_EXE_VAR = $${DESTDIR} $${TARGET}.exe
#	MY_DEST_EXE = $$join( MY_DEST_EXE_VAR, "\\" )
#
#	QMAKE_POST_LINK = copy $${MY_DEST_EXE} $(ADEHOME)\bin	\
#                  & copy .\language\delucom_zh.qm $(ADEHOME)\uif\i18n\zh	\
#                  & copy .\language\delucom_en.qm $(ADEHOME)\uif\i18n\en
#}
